#ifndef PWM_H
#define PWM_H

#ifdef __cplusplus
extern "C"
{
#endif

void pwm_open (void);
void pwm_close (void);

void pwm_write(int channel, unsigned long freq, unsigned int duty);

#ifdef __cplusplus
}
#endif

#endif